<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:68:"E:\WWW\fly_forum\public/../application/admin\view\Card\evaluate.html";i:1520411350;s:55:"E:\WWW\fly_forum\application\admin\view\Card\index.html";i:1520413082;s:49:"E:\WWW\fly_forum\application\admin\view\base.html";i:1520214433;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title><?php echo $title; ?></title>
    <link rel="stylesheet" href="/fly_forum/public/static/layui/css/layui.css">
    <script src="/fly_forum/public/static/jq1.8.3.mini.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><?php echo $title; ?></div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="<?php echo url('Index/index'); ?>">网站后台</a></li>
            <li class="layui-nav-item"><a href="<?php echo url('User/index'); ?>">用户中心</a></li>
            <li class="layui-nav-item"><a href="<?php echo url('Card/index'); ?>">帖子列表</a></li>
            <li class="layui-nav-item"><a href="<?php echo url('Conf/index'); ?>">系统设置</a></li>
            <!--<li class="layui-nav-item">-->
                <!--<a href="javascript:;">其它系统</a>-->
                <!--<dl class="layui-nav-child">-->
                    <!--<dd><a href="">邮件管理</a></dd>-->
                    <!--<dd><a href="">消息管理</a></dd>-->
                    <!--<dd><a href="">授权管理</a></dd>-->
                <!--</dl>-->
            <!--</li>-->
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item"><a href="<?php echo url('Index/Index/index'); ?>">网站首页</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                    <?php echo $admin['name']; ?>
                </a>
                <dl class="layui-nav-child">
                    <!-- <dd><a href="">基本资料</a></dd> -->
                    <dd><a href="<?php echo url('Conf/pwd'); ?>">修改密码</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="<?php echo url('Logindo/loginout'); ?>">退出</a></li>
        </ul>
    </div>

    
<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
          <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">分类管理</a>
                <dl class="layui-nav-child">
                    <dd><a href="<?php echo url('Card/cate'); ?>">查看分类</a></dd>
                    <dd><a href="<?php echo url('Card/cateAdd'); ?>">添加分类</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">帖子管理</a>
                <dl class="layui-nav-child">
                    <dd><a class="" href="<?php echo url('Card/index'); ?>">帖子列表</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">评论管理</a>
                <dl class="layui-nav-child">
                    <dd><a class="" href="<?php echo url('Card/evaluate'); ?>">评论列表</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>


    
<div class="layui-body">
	<!-- 评论列表 -->
    <table class="layui-table" style="margin-top: 0px">
          <colgroup>
            <!-- <col width="20">
            <col width="150">
            <col width="100">
            <col width="150"> -->
            <col>
          </colgroup>
          <thead>
            <tr>
              <th>ID</th>
              <th>帖子名</th>
              <th>发帖人</th>
              <th>赞</th>
              <th>评论内容</th>
              <th>提问帖</th>
              <!-- <th>操作</th> -->
            </tr> 
          </thead>
          <tbody>
            <?php if(is_array($EvaluateList) || $EvaluateList instanceof \think\Collection || $EvaluateList instanceof \think\Paginator): if( count($EvaluateList)==0 ) : echo "" ;else: foreach($EvaluateList as $key=>$vo): ?>
            <tr style="height: 80px;">
              <th ><?php echo $vo['id']; ?></th>
              <th><?php echo $vo['cname']; ?></th>
              <th ><?php echo $vo['uname']; ?></th>
              <th ><?php echo $vo['zan']; ?></th>
              <th ><?php echo $vo['eval_content']; ?></th>
              <th ><?php echo $vo['take']; ?></th>
              <!-- <th width="150">
                <a href="" class="layui-btn layui-btn-xs layui-btn">操作</a>
              </th> -->
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; ?>
          </tbody>
        </table>
</div>


    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © lay论坛
    </div>
</div>
<script src="/fly_forum/public/static/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
</body>
</html>